﻿<?php
session_start();
if(isset($_GET["name"])){
	$_SESSION[$_GET["name"]]=$_GET["zhi"];
	echo "ok";//
}
?>
<form action="" method="get">
插入SESSION ID名：<input type="text" name="name"><br/>
值：<input type="text" name="zhi"><br/>
<input type="submit" >
</form>